package com.tanhua.dubbo.api;

import com.tanhua.domain.mongo.Friend;
import com.tanhua.domain.vo.PageResult;

public interface FriendApi {
    void save(Friend friend1, Friend friend2);

    PageResult queryFriends(Integer page, Integer pagesize, Long userId, String keyword);

    Integer remove(Long userId, Integer friendId);
}
